*::after, *::before {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(0deg, #b8ff2e, #2ea8ff);
  position: relative;
  background-attachment: fixed;
}

.container {
  position: relative;
  width: 1000px;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  margin: 20px;
  padding: 20px 0;
}

.container .card {
  position: relative;
  display: flex;
  height: 250px;
  background: #FFF;
  border-radius: 20px;
  margin: 30px 0;
  width: 45%;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.container .card .img_box{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 5px 5px 30px rgba(0,0,0,.1);
  transition: .5s ease-in-out;
}

.container .card:hover .img_box{
  height: 150px;
  width: 150px;
  left: -75px;
  top: calc(50% - 75px);
  border-radius: 10px;
}

.container .card .img_box img {
  max-width: 100px;
  filter: invert(1);
  transition: .5s ease-in-out;
}

.container .card:hover .img_box img{
  max-width: 75px;
}

.container .card .content {
  position: absolute;
  right: 0;
  width: calc(100% - 75px);
  height: 100%;
  padding: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

.container .card .content h3 {
  color: #ff0057;
  margin-bottom: 5px;
  font-size: 24px;
}

.container .card .content a{
  display: block;
  margin-top: 10px;
  padding: 8px 20px;
  background: #0095ff;
  text-decoration: none;
  color: #FFF;
  font-weight: 500;
  width: max-content;
  border-radius: 5px;
}

@media (max-width: 992px) {
  .container {
    position: relative;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .container .card {
    width: 300px;
    height: auto;
    flex-direction: column;
    background: transparent;
    margin: -20px 0;
    box-shadow: none;
  }
  .container .card .img_box {
    position: relative;
    border-radius: 20px;
  }
  .container .card .img_box,
  .container .card:hover .img_box {
    width: 80%;
    height: 200px;
    top: 100px;
    left: 10%;
  }
  .container .card:hover .img_box {
    top: 80px;

  }
  .container .card .img_box img,
  .container .card:hover .img_box img {
    max-width: 100px;
  }
  .container .card .content {
    position: relative;
    width: 100%;
    background: #FFF;
    box-shadow: none;
    border-radius: 20px;
    padding: 20px 40px 40px;
    border-top: 100px solid #FFF;
  }
}